﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace CinemabookingWCFApp.MovieInfoFolder
{

    [ServiceContract]
    public interface IMovieInfoService
    {
        [OperationContract]
        List<MovieInfo> GetMovieById(int MovId);

        [OperationContract]
        List<MovieInfo> GetAllMovies();

        [OperationContract]
        List<string> GetMovieByName(string MovName);

        [OperationContract]
        void SaveMovie(string MovName, string MovGenre, string MovType, string MovDescription, string MovPicture, int MovTheater, string MovTrailer);

        [OperationContract]
        void DeleteMovie(int MovId);

        [OperationContract]
        void UpdateMovie(int MovId, string MovName, string MovGenre, string MovType, string MovDescription, string MovPicture, int MovTheater, string MovTrailer);
    }
}
